{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE }}" xml:lang="{{ LANGUAGE_CODE }}" 
{% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
<head>
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% load adminmedia %}{% admin_media_prefix %}css/base.css{% endblock %}" />
{% if LANGUAGE_BIDI %}
  <link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% admin_media_prefix %}css/rtl.css{% endblock %}" />
{% endif %}
{% block extrastyle %}{% endblock %}
{% block extrahead %}{% endblock %}
{% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %}
</head>
{% load i18n %}

<body>

{% if messages %}
           <ul class="messagelist">{% for message in messages %}<li>{{ message|escape }}</li>{% endfor %}</ul>
{% endif %}

<table style="width:750px;margin:0 auto">
<tr><td style="height:15px;" colspan="2">
<a href="/">Home</a> | <a href="/blog/contact/">Contact</a> | 
<a href="/blog/about/">About Us</a> | <a href="/admin/">Admin</a>
</td></tr>
<tr><td style="height:160px;background: #fff url(/media/img/uxmal.jpg);" colspan="2">
</td></tr>
<tr><td id="sidebar" style="width:140px;border:1px dotted gray;">
{% if user.is_authenticated %}
    <p>Welcome, {{ user.username }}. Thanks for logging in.</p>
{% else %}
    <p>Welcome, new user. <a href="/admin/">Please log in</a>.</p>
{% endif %}

{% include 'elements/nav.html' %}

</td>
<td id="tdcontent" style="width:610px;">
     {% block content %}{% endblock %} 
</td></tr>
<tr><td id="footer" colspan="2">
Colectivo Mononeurona 2008 GPLv3
</td>
</table>
</body>
</html>
